<template>
	<view>
		<!-- 搜索框 -->
		<view class="search">
			<u-search shape="round" :show-action="false" placeholder="输入关键词搜索"></u-search>
		</view>
		<!-- 内容2 -->
		<view class="content">
			<!-- 左侧导航栏 -->
			<scroll-view scroll-y="true" class="scroll-Y">
				<view class="text" :class="{'textColor':item.id == params.current}" v-for="(item,index) in list"
					:key="index" @click="switchClick(item,name)">
					{{item.title}}
				</view>
			</scroll-view>

			<!-- 右侧内容栏 -->
			<scroll-view scroll-y="true" class="scroll-Y goods-list">
				<uni-list>

				</uni-list>
			</scroll-view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>

</style>
